package com.consumerfeign.consumerfeign.controller;

import com.consumerfeign.consumerfeign.service.ConsumerInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dfj@99chuxing.com
 * @date 2018/4/16 0016 16:31
 */
@RestController
public class FeginController {

    @Autowired
    ConsumerInterface consumerInterface;

    @RequestMapping("fegin")
    public String fegin() {

        return consumerInterface.sayHiFromClientOne();
    }

}
